import { BasePageQo } from '@/base/api/BaseQo'

export type SysTransferCenterListVo = {
  // [[ OnflowGenerator Range (- listVo -) Start ]]
  id: number
  name: string
  transferType: number
  executeState: number
  platformType: string
  fileCount: number
  moduleName: string
  successCount: number
  failCount: number
  skipCount: number
  errorMessage?: string
  startTime?: string
  finishTime?: string
  createUser: number
  updateUser: number
  createTime?: string
  updateTime?: string
  packageDownloadUrl?: string
  packageDownloadFileId?: number
  singleFileDownloadFileId?: number
  // [[ OnflowGenerator Range (- listVo -) End ]]
  files?: Array<SysFileTransferCenterListVo>
}

export type SysTransferCenterDetailVo = {
  // [[ OnflowGenerator Range (- detailVo -) Start ]]
  id: number
  name: string
  transferType: number
  executeState: number
  platformType: string
  fileCount: number
  moduleName: string
  successCount: number
  failCount: number
  skipCount: number
  errorMessage?: string
  startTime?: string
  finishTime?: string
  createUser: number
  updateUser: number
  createTime?: string
  updateTime?: string
  packageDownloadUrl?: string
  packageDownloadFileId?: number
  // [[ OnflowGenerator Range (- detailVo -) End ]]
}

export type SysTransferCenterSearchQo = BasePageQo & {
  // [[ OnflowGenerator Range (- pageQo -) Start ]]
  id?: number
  name?: string
  transferType?: number
  executeState?: number
  platformType?: string
  fileCount?: number
  moduleName?: string
  successCount?: number
  failCount?: number
  skipCount?: number
  errorMessage?: string
  startTime?: string
  finishTime?: string
  createUser?: number
  updateUser?: number
  createTime?: string
  updateTime?: string
  packageDownloadUrl?: string
  packageDownloadFileId?: number
  // [[ OnflowGenerator Range (- pageQo -) End ]]
}

export type SysTransferCenterEditQo = {
  // [[ OnflowGenerator Range (- editQo -) Start ]]
  id?: number
  name?: string
  transferType?: number
  executeState?: number
  platformType?: string
  fileCount?: number
  moduleName?: string
  successCount?: number
  failCount?: number
  skipCount?: number
  errorMessage?: string
  startTime?: string
  finishTime?: string
  createUser?: number
  updateUser?: number
  createTime?: string
  updateTime?: string
  packageDownloadUrl?: string
  packageDownloadFileId?: number
  // [[ OnflowGenerator Range (- editQo -) End ]]
}

export type SysFileTransferCenterListVo = {
  id: number
  transferCenterId: number
  fileName: string
  storePath: string
  fileSize: number
  fileSizeName: string
  totalCount: number
  successCount: number
  failCount: number
  skipCount: number
}
